package org.brisling.supply.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.common.ConstSysParam;


/**
 * 
 * <p>Title: SupplyBaseInfo</p>
 * <p>Description: 供应商统计信息实体类</p>
 * <p>Company: tongking</p> 
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年6月1日 下午10:22:46
 */
@Entity
@Table(name=ConstSysParam.MODULE_SUPPLY_BASEINFO)
public class SupplyCountInfo {

	/*
	 * 主键
	 */
	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="supplyBaseinfoGenerator")
	@TableGenerator(name="supplyBaseinfoGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_SUPPLY_BASEINFO,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;
	
	
	public Long getId() {
		// TODO Auto-generated method stub
		return this.id;
	}

	
	public void setId(Long id) {
		// TODO Auto-generated method stub
		this.id = id;
	}
	
	
	
}
